package com.zjitc.service;

import com.zjitc.model.CartItem;
import java.util.List;
/**
 * Create by IntelliJ IDEA
 *
 * @author: jsonor
 * @date-Time: 2018/5/14 17:05
 * @description:
 */
public interface CartService {
 void addcart(Integer uid, Integer pid, Integer count);

 List<CartItem> findAll(Integer uid);

 void delete(Integer pid);

 void clearCart(Integer uid);

 void update(Integer pid, Integer num);

 List<CartItem> findByUid(Integer uid);
}
